Skip to content

Fix Traitors emotes not displaying on dedicated server.#956

Merged
BenLubar merged 2 commits into
ReactiveDrop:reactivedrop_betafrom
ywgATustcbbs:TraitorIconFix
Sep 3, 2025
Merged

Fix Traitors emotes not displaying on dedicated server.#956
BenLubar merged 2 commits into
ReactiveDrop:reactivedrop_betafrom
ywgATustcbbs:TraitorIconFix

Conversation

@ywgATustcbbs

@ywgATustcbbs ywgATustcbbs commented Sep 3, 2025

Copy link
Copy Markdown
Contributor
  • Remove old traitor icon system which uses emote system.
  • Directly draw traitor icons in client HUD vscript.
  • Add 2 new client side HUD vscritp functions to CRD_HUD_VScript:
    const Vector ClientGetEntityOrigin(int entindex): Returns the origin of an entity. Returns (0, 0, 0) if it's not a valid entity.
    const Vector ClientGetEntityScreenPos(int entIndex): Converts a world position to screen coordinate. Z value of the returned vector denotes if it's a valid screen coordinate, 1 - valid, 0 - otherwise.

Will revise wiki page after being merged.

@BenLubar BenLubar merged commit 37a0729 into ReactiveDrop:reactivedrop_beta Sep 3, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants